package com.ljf.authority.dto.command;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ljf.common.validation.UpdateGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 菜单列表定义--修改关联权限组  authority_base_menu_tabulation
 *
 * @author LJF
 * @since 2025-06-08
 */
@Data
@ApiModel("菜单列表定义--修改关联权限组")
public class AuthorityBaseMenuTabulationPermissionGroupCommand implements Serializable {

    @JsonProperty("id")
    @ApiModelProperty(value = "ID")
    @NotNull(message = "ID不能为空", groups = {UpdateGroup.class})
    private Long id;

    @JsonProperty("permissionGroupList")
    @ApiModelProperty(value = "权限组编码(集合)")
    private List<String> permissionGroupList;

}
